﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApp1
{
    internal class entity
    {
        public class School
        {
            public int SchoolId { get; set; }
            public string SchoolName { get; set; }
        }

        public class Class
        {
            public int ClassId { get; set; }
            public string ClassName { get; set; }
            public int SchoolId { get; set; }  // 外键，指向学校
        }

        public class Student
        {
            public int StudentId { get; set; }
            public string StudentName { get; set; }
            public int ClassId { get; set; }  // 外键，指向班级
        }

        public class Log
        {
            public string Operation { get; set; }
        }

    }
}
